package cn.formal.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result implements Serializable {
    private boolean code;
    private String msg;
    private Object body;

    public Result(boolean code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
